using System;
using System.Collections.Generic;

namespace Comteck.Dto.Orders {
  /// <summary>
  /// 
  /// </summary>
  public class SaleOrderDto {
    /// <summary>
    /// 订单id
    /// </summary>
    public string Id { get; set; }

    /// <summary>
    /// 订单号
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    /// 订单状态(内部)
    /// </summary>
    public int Status { get; set; }

    /// <summary>
    /// 跟团号
    /// </summary>
    public string GroupNumber { get; set; }

    /// <summary>
    /// 快递单号 - 邮政MES
    /// </summary>
    public string DeliveryCode { get; set; }

    /// <summary>
    /// 团购标题
    /// </summary>
    public string GroupTitle { get; set; }

    /// <summary>
    /// 下单人
    /// </summary>
    public string BuyUserName { get; set; }

    /// <summary>
    /// 团员备注
    /// </summary>
    public string BuyUserDesc { get; set; }

    /// <summary>
    /// 支付时间
    /// </summary>
    public DateTime PayDate { get; set; }

    /// <summary>
    /// 团长备注
    /// </summary>
    public string GroupDesc { get; set; }

    /// <summary>
    /// 商品品项数
    /// </summary>
    public int GoodsCount { get; set; }

    /// <summary>
    /// 商品总重量
    /// </summary>
    public decimal GoodsWeight { get; set; }

    /// <summary>
    /// 商品金额
    /// </summary>
    public decimal GoodsAmt { get; set; }

    /// <summary>
    /// 运费金额
    /// </summary>
    public decimal FreightAmt { get; set; }

    /// <summary>
    /// 优惠金额
    /// </summary>
    public decimal DiscountAmt { get; set; }

    /// <summary>
    /// 订单金额
    /// </summary>
    public decimal TotalAmt { get; set; }

    /// <summary>
    /// 退款金额
    /// </summary>
    public decimal ReturnAmt { get; set; }

    /// <summary>
    /// 团长名称
    /// </summary>
    public string GroupName { get; set; }

    /// <summary>
    /// 物流方式
    /// </summary>
    public string DeliveryTypeName { get; set; }

    /// <summary>
    /// 自提点id
    /// </summary>
    public int SelfOrgId { get; set; }

    /// <summary>
    /// 自提点名称
    /// </summary>
    public string SelfOrgName { get; set; }

    /// <summary>
    /// 自提点联系人
    /// </summary>
    public string SelfOrgContacts { get; set; }

    /// <summary>
    /// 自提点电话
    /// </summary>
    public string SelfOrgPhone { get; set; }

    /// <summary>
    /// 自提点地址
    /// </summary>
    public string SelfOrgAddress { get; set; }

    /// <summary>
    /// 收货人
    /// </summary>
    public string Recipient { get; set; }

    /// <summary>
    /// 收货人联系电话
    /// </summary>
    public string RecipientPhone { get; set; }

    /// <summary>
    /// 省份
    /// </summary>
    public string Province { get; set; }

    /// <summary>
    /// 城市
    /// </summary>
    public string City { get; set; }

    /// <summary>
    /// 区县
    /// </summary>
    public string District { get; set; }

    /// <summary>
    /// 街道
    /// </summary>
    public string Street { get; set; }

    /// <summary>
    /// 详细地址
    /// </summary>
    public string RecipientAddress { get; set; }

    /// <summary>
    /// 打印次数
    /// </summary>
    public int PrintNum { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int SeqNo { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public string Description { get; set; }

    /// <summary>
    /// 导入批次号
    /// </summary>
    public string ImportBatchNo { get; set; }

    /// <summary>
    /// 导入时间
    /// </summary>
    public DateTime? ImportTime { get; set; }

    /// <summary>
    /// 主单标记
    /// </summary>
    public int MainOrderFlag { get; set; }

    /// <summary>
    /// 主单号
    /// </summary>
    public string MainCode { get; set; }

    /// <summary>
    /// 主团购号
    /// </summary>
    public string MainGroupNumber { get; set; }

    /// <summary>
    /// 主单号拆分订单数
    /// </summary>
    public int MainSplitCount { get; set; }

    /// <summary>
    /// 快递状态
    /// </summary>
    public int? DeliveryStatus { get; set; }

    /// <summary>
    /// 投递说明
    /// </summary>
    public string DeliveryDesc { get; set; }

    /// <summary>
    /// 订单明细
    /// </summary>
    public virtual List<SaleOrderDetailDto> DetailList { get; set; }
  }
}
